package miracom.one.MilkProduction.util;

import milkproduction.service.ProductionProcessService;

public class Pavior extends Thread{

	@Override
	public void run() {
		try {
			this.sleep(20);//포장 시간
			ProductionProcessService.productMilkBox = ProductionProcessService.productMilkBox+1;
			System.out.println("포장기(Box수량) :"+ProductionProcessService.productMilkBox );
			ProductionProcessService.paviorWork = false;//기계 멈춤
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	

}
